import { PerformanceObserver } from "perf_hooks";

export function testingPerformance() {
  const obs = new PerformanceObserver((list, observer) => {
    console.log(list.getEntries()[0]);
  });

  obs.observe({ entryTypes: ['mark'] });
}